import { WarnLevelType, WarnType } from "./enum";

export const WarnLevelMap = {
    [WarnLevelType.Normal]: "正常",
    [WarnLevelType.One]: "红色预警",
    [WarnLevelType.Two]: "橙色预警",
    [WarnLevelType.Three]: "黄色预警",
    [WarnLevelType.Four]: "蓝色预警",
};

/**
 * 设备类型
 */
export const WarnTypeMap = {
    [WarnType.Normal]: "正常", //正常
    [WarnType.OffLine]: "设备掉线", //设备掉线
    [WarnType.AddUp]: "累计预警", //累计预警
    [WarnType.Relative]: "相对预警", //相对预警
};
